From: nana-4 Date: Sun, 12 Jan 2020 14:31:36 +0000 (+0900) Subject: theme: Don't jump the today button on hover/focus X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~781^2^2~198 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=260cce9d925426d2a4400cae4097d2a2166a1d11;p=gnome-shell.git theme: Don't jump the today button on hover/focus This seemed quite buggy as no other button jumps on hover/focus in the theme. https://gitlab.gnome.org/GNOME/gnome-shell/issues/2088 --- diff --git a/data/theme/gnome-shell-sass/widgets/_calendar.scss b/data/theme/gnome-shell-sass/widgets/_calendar.scss index ed2fa5f39..2e2495c5f 100644 --- a/data/theme/gnome-shell-sass/widgets/_calendar.scss +++ b/data/theme/gnome-shell-sass/widgets/_calendar.scss @@ -22,20 +22,13 @@ padding: $base_padding * 1.5; margin: $base_margin; border: 1px solid transparent; - - &:focus, - &:hover { - border-radius:$base_border_radius + 2px; - margin-top: $base_margin - 1px; - margin-bottom: $base_margin + 1px; - } + border-radius: $base_border_radius + 2px; &:hover { @include button(hover);} &:focus { @include button(focus);} - &:active { + &:active { @include button(active); - margin: $base_margin; } // weekday label